/*通用顶部导航*/
nav.navbar.bootsnav {
  margin-bottom: 0;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  background-color: #fff;
  border: none;
  z-index: 10002;

  .navbar-toggle {
    background: rgba(0,0,0,0.0)!important;
    position: relative;
    float: left;
    background-color: transparent;
    border: 0;
    top: 0; 
    i {
      font-size:22px;
      color:#666;
    }
  }

  @media (max-width: 992px) {
    .navbar-toggle {
      display: inline-block;
      float: left;
      margin-right: -200px;
      margin-top: 15px;
    }
  }

  .navbar-header {
    float: float;
    display: block;
    text-align: center;
    padding-right: 30px;

    .navbar-brand {
      float: left;
      padding: 4px 0;
      height: 58px;

      img{
        width:auto;
        display: inline-block;
        width:auto;
      }
    }

    @media (max-width: 992px){
      .navbar-brand {
        display: inline-block;
        line-height: 58px;
        float: none!important;
        margin: 0!important;

        img{
          width:120px;
          display: inline-block;
        }
      }

      
    }
  }

  @media (max-width: 992px) {
    .navbar-header {
      float: none;
      display: block;
      text-align: center;
      padding-right: 30px;
    }
  }

  .navbar-nav {

    >li {
      >a {
        padding: 0 15px;
        font-size: 16px;
        font-weight: 400;
        line-height: 56px;
        color:#666;

        &:hover, &:focus {
          color: #ff9900;
          background-color: #fff;
        }
      }
    }

    .active {
      >a {
        background-color: #fff;
        color:#f90;
        &:hover, &:focus {
          color: #ff9900;
          background-color: #fff;
        }
      }
    }
  }

  .attr-nav {
    float: right;
    display: inline-block;
    margin-left: 13px;

    >ul {
      padding: 0;
      margin: 0 0 -7px 0;
      list-style: none;
      height: 58px;
      display: inline-flex;
      align-items: center;

      >li {
        float: left;
        display: block;

        >a {
          color: #6f6f6f;
          display: block;
          padding: 0px 10px;
          position: relative;
          line-height: 58px;

          .avatar {
            width: 32px;
            height: 32px;
          }
        }
      }
    }
  }

  @media (max-width: 767px) {
    .attr-nav {
      right: 30px;
    }
  }
  @media (max-width: 992px) {
    .attr-nav {
      position: absolute;
      top:0;
      right: 15px;
    }
  }
}

nav.navbar.bootsnav.navbar-fixed {
  position: fixed;
  display: block;
  width: 100%;
}
nav.navbar.bootsnav.no-background {
  background-color: transparent;
  border: none;
}





